package com.tjbknb.ecui;

import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.IBinder;
import android.widget.Toast;


public class TestScript extends Service{
	
	
	private BroadcastReceiver batReceiver = new BroadcastReceiver() {
		@Override
		public void onReceive(Context c, Intent intent) {
			int level = intent.getIntExtra("level", 0);
			Toast.makeText(getApplicationContext(), "battery " + String.valueOf(level), Toast.LENGTH_LONG).show();

		}
	};
	
	
	
	
	public TestScript()
	{
		
		
	}
	
	
	public void storeBatteryLevel()
	{
	
	}


	@Override
	public IBinder onBind(Intent intent) {
		// TODO Auto-generated method stub
		return null;
	}


	
}